package cc.mcggdd.leah.boot.stock.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.entity.StockTrading;
import cc.mcggdd.leah.boot.stock.model.form.StockTradingForm;

/**
 * 交易明细对象转换器
 *
 * @author 
 * @since 2025-02-13 10:16
 */
@Mapper(componentModel = "spring")
public interface StockTradingConverter{

    StockTradingForm toForm(StockTrading entity);

    StockTrading toEntity(StockTradingForm formData);
}